projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d004fe
)
(image-jpeg-p): Fix call of substring.
author
Gerd Moellmann
<gerd@gnu.org>
Mon, 13 Aug 2001 10:16:16 +0000
(10:16 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Mon, 13 Aug 2001 10:16:16 +0000
(10:16 +0000)
lisp/image.el
patch
|
blob
|
history
diff --git
a/lisp/image.el
b/lisp/image.el
index f08db3879b11971795bbabffb88ecbb2a12786bc..f7ab77379dc6b0e9a29ddf1dbd1c7d40e36662b5 100644
(file)
--- a/
lisp/image.el
+++ b/
lisp/image.el
@@
-64,7
+64,7
@@
a non-nil value, TYPE is the image's type ")
(when (and (>= code #xe0) (<= code #xef))
;; APP0 LEN1 LEN2 "JFIF\0"
(throw 'jfif
- (string-match "JFIF" (substring data i
nbytes
))))
+ (string-match "JFIF" (substring data i
(+ i nbytes)
))))
(setq i (+ i 1 nbytes))))))))